Optimal. Leaf size=53 \[ -\frac{\text{Shi}\left (2 \tanh ^{-1}(a x)\right )}{a^5}+\frac{\text{Shi}\left (4 \tanh ^{-1}(a x)\right )}{2 a^5}-\frac{x^4}{a \left (1-a^2 x^2\right )^2 \tanh ^{-1}(a x)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.186329, antiderivative size = 53, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 4, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.182, Rules used = {6006, 6034, 5448, 3298} \[ -\frac{\text{Shi}\left (2 \tanh ^{-1}(a x)\right )}{a^5}+\frac{\text{Shi}\left (4 \tanh ^{-1}(a x)\right )}{2 a^5}-\frac{x^4}{a \left (1-a^2 x^2\right )^2 \tanh ^{-1}(a x)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6006
Rule 6034
Rule 5448
Rule 3298
Rubi steps
\begin{align*} \int \frac{x^4}{\left (1-a^2 x^2\right )^3 \tanh ^{-1}(a x)^2} \, dx &=-\frac{x^4}{a \left (1-a^2 x^2\right )^2 \tanh ^{-1}(a x)}+\frac{4 \int \frac{x^3}{\left (1-a^2 x^2\right )^3 \tanh ^{-1}(a x)} \, dx}{a}\\ &=-\frac{x^4}{a \left (1-a^2 x^2\right )^2 \tanh ^{-1}(a x)}+\frac{4 \operatorname{Subst}\left (\int \frac{\cosh (x) \sinh ^3(x)}{x} \, dx,x,\tanh ^{-1}(a x)\right )}{a^5}\\ &=-\frac{x^4}{a \left (1-a^2 x^2\right )^2 \tanh ^{-1}(a x)}+\frac{4 \operatorname{Subst}\left (\int \left (-\frac{\sinh (2 x)}{4 x}+\frac{\sinh (4 x)}{8 x}\right ) \, dx,x,\tanh ^{-1}(a x)\right )}{a^5}\\ &=-\frac{x^4}{a \left (1-a^2 x^2\right )^2 \tanh ^{-1}(a x)}+\frac{\operatorname{Subst}\left (\int \frac{\sinh (4 x)}{x} \, dx,x,\tanh ^{-1}(a x)\right )}{2 a^5}-\frac{\operatorname{Subst}\left (\int \frac{\sinh (2 x)}{x} \, dx,x,\tanh ^{-1}(a x)\right )}{a^5}\\ &=-\frac{x^4}{a \left (1-a^2 x^2\right )^2 \tanh ^{-1}(a x)}-\frac{\text{Shi}\left (2 \tanh ^{-1}(a x)\right )}{a^5}+\frac{\text{Shi}\left (4 \tanh ^{-1}(a x)\right )}{2 a^5}\\ \end{align*}
Mathematica [A] time = 0.185935, size = 49, normalized size = 0.92 \[ \frac{-\frac{2 a^4 x^4}{\left (a^2 x^2-1\right )^2 \tanh ^{-1}(a x)}-2 \text{Shi}\left (2 \tanh ^{-1}(a x)\right )+\text{Shi}\left (4 \tanh ^{-1}(a x)\right )}{2 a^5} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.069, size = 62, normalized size = 1.2 \begin{align*}{\frac{1}{{a}^{5}} \left ( -{\frac{3}{8\,{\it Artanh} \left ( ax \right ) }}+{\frac{\cosh \left ( 2\,{\it Artanh} \left ( ax \right ) \right ) }{2\,{\it Artanh} \left ( ax \right ) }}-{\it Shi} \left ( 2\,{\it Artanh} \left ( ax \right ) \right ) -{\frac{\cosh \left ( 4\,{\it Artanh} \left ( ax \right ) \right ) }{8\,{\it Artanh} \left ( ax \right ) }}+{\frac{{\it Shi} \left ( 4\,{\it Artanh} \left ( ax \right ) \right ) }{2}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} -\frac{2 \, x^{4}}{{\left (a^{5} x^{4} - 2 \, a^{3} x^{2} + a\right )} \log \left (a x + 1\right ) -{\left (a^{5} x^{4} - 2 \, a^{3} x^{2} + a\right )} \log \left (-a x + 1\right )} + 8 \, \int -\frac{x^{3}}{{\left (a^{7} x^{6} - 3 \, a^{5} x^{4} + 3 \, a^{3} x^{2} - a\right )} \log \left (a x + 1\right ) -{\left (a^{7} x^{6} - 3 \, a^{5} x^{4} + 3 \, a^{3} x^{2} - a\right )} \log \left (-a x + 1\right )}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.32265, size = 545, normalized size = 10.28 \begin{align*} -\frac{8 \, a^{4} x^{4} -{\left ({\left (a^{4} x^{4} - 2 \, a^{2} x^{2} + 1\right )} \logintegral \left (\frac{a^{2} x^{2} + 2 \, a x + 1}{a^{2} x^{2} - 2 \, a x + 1}\right ) -{\left (a^{4} x^{4} - 2 \, a^{2} x^{2} + 1\right )} \logintegral \left (\frac{a^{2} x^{2} - 2 \, a x + 1}{a^{2} x^{2} + 2 \, a x + 1}\right ) - 2 \,{\left (a^{4} x^{4} - 2 \, a^{2} x^{2} + 1\right )} \logintegral \left (-\frac{a x + 1}{a x - 1}\right ) + 2 \,{\left (a^{4} x^{4} - 2 \, a^{2} x^{2} + 1\right )} \logintegral \left (-\frac{a x - 1}{a x + 1}\right )\right )} \log \left (-\frac{a x + 1}{a x - 1}\right )}{4 \,{\left (a^{9} x^{4} - 2 \, a^{7} x^{2} + a^{5}\right )} \log \left (-\frac{a x + 1}{a x - 1}\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} - \int \frac{x^{4}}{a^{6} x^{6} \operatorname{atanh}^{2}{\left (a x \right )} - 3 a^{4} x^{4} \operatorname{atanh}^{2}{\left (a x \right )} + 3 a^{2} x^{2} \operatorname{atanh}^{2}{\left (a x \right )} - \operatorname{atanh}^{2}{\left (a x \right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int -\frac{x^{4}}{{\left (a^{2} x^{2} - 1\right )}^{3} \operatorname{artanh}\left (a x\right )^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]